<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>用户详情</title>
</head>
<body>

用户信息:
<hr>
<table th:object="${user}">
    <tbody>
    <tr>
        <td>ID: </td>
        <td th:text="*{id}">100</td>
    </tr>
    <tr>
        <td>username: </td>
        <td th:text="*{uname}">100</td>
    </tr>
    </tbody>
</table>
</body>
</html>